$primary: #FF74B9;

body {
  padding: 0;
  margin: 0;
}

.clearfix {
  zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
  visibility: hidden;
  font-size: 0;
  height: 0;
}


#container {
  padding: 50px;
}

.y-hotspot-item {
  .y-hotspot-item {
    background-color: transparent;
  }
}

.hotspot-title-item {
  > * {
    float: left;
  }
  > span {
    position: relative;
    display: block;
    width: 20px;
    height: 30px;
    &:before {
      content: '';
      display: block;
      width: 6px;
      height: 6px;
      border: 1px solid #fff;
      border-radius: 4px;
      position: absolute;
      z-index: 1;
      left: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      background-color: $primary;
    }
    &:after {
      content: '';
      display: block;
      height: 1px;
      background-color: #fff;
      position: absolute;
      right: 0;
      top: 0;
      left: 0;
      bottom: 0;
      margin: auto;
    }
  }
  > div {
    position: absolute;
    right: 0;
    left: 20px;
    top: 0;
    display: block;
    border: 1px solid #fff;
    border-radius: 100px;
    background-color: rgba(#000, 0.5);
    color: #fff;
    font-size: 14px;
    padding: 4px 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  &.right {
    > * {
      float: right;
    }
    > span {
      &:before {
        right: 0;
        left: auto;
      }
    }
    > div {
      left: 0;
      right: 20px;
    }
  }
}
